package com.pine.sunshineelder.checkin.service;

import com.pine.sunshineelder.checkin.ao.relative.relativeAddAo;
import com.pine.sunshineelder.checkin.ao.relative.relativeModAo;
import com.pine.sunshineelder.common.entity.RelativeEntity;

public interface RelativeService {
	/**
	 * 新增亲属
	 * */
	RelativeEntity updateRelative(String elderId,relativeAddAo ao)throws Exception;
	/**
	 * 修改亲属信息
	 * */
	RelativeEntity modifyRelative(String id,relativeModAo ao)throws Exception;
	/**
	 * 通过id查询
	 * */
	RelativeEntity queryById(String id)throws Exception;
}
